import Request from '@/utils/request';


const API_PREFIX = '/business/api';
const PATH = '/protocol';


export class ProtocolApi {


  /**
   * 修改
   */
  static edit(params) {
    return Request.post(API_PREFIX + PATH + '/edit', params);
  }

  /**
   * 查看详情
   */
  static findDetail(params) {
    return Request.get(API_PREFIX + PATH + '/findDetail', params);
  }


  /**
   * 修改
   */
  static editFlow(params) {
    return Request.post(API_PREFIX + PATH + '/editFlow', params);
  }

  /**
   * 查看详情
   */
  static findFlowDetail(params) {
    return Request.get(API_PREFIX + PATH + '/findFlowDetail', params);
  }
}
